<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
</h:head>
<h:body>
	<h:form id="form">
		<h1>
			<h:outputText value="Pantalla de Login" />
		</h1>

		<table id="tablaAgregar">
			<tr>
				<td><h:outputLabel style="font-weight:bold" value="Usuario : " /></td>
				<td><p:inputText id="username" required="true"
						value="#{usuarioManagedBean.usuario.username}" /></td>
			</tr>
			<tr>
				<td><h:outputLabel style="font-weight:bold" value="Password : " /></td>
				<td><p:password id="password"
						value="#{usuarioManagedBean.usuario.password}" /></td>
			</tr>
		</table>
		<p:commandButton value="Ingresar"
			action="#{usuarioManagedBean.loginMG()}">
		</p:commandButton>
	</h:form>
</h:body>
</html>